<?php

declare(strict_types=1);

/**
 * @Author:     Frank
 * @contact     frank_hhm@163.com
 * @Date:       2023-01-12 15:25:34
 * @Last Modified time: 2023-01-12 15:26:54
 */
namespace app\common\enum\system\addon;

use frank\base\BaseEnum;

/**
 * 枚举类
 * Class TypeEnum
 * @package app\common\enum\system\addon
 */
class TypeEnum extends BaseEnum
{
    const SYSTEM = 0;

    const STORE = 1;

    /**
     * 获取枚举数据
     * @return array
     */
    public static function data()
    {
        return [
            self::SYSTEM => [
                'name' => '默认',
                'value' => self::SYSTEM,
            ],
            self::STORE => [
                'name' => '应用',
                'value' => self::STORE,
            ],
        ];
    }
}


